#ifndef INPUTTYPE_H
#define INPUTTYPE_H

#include "inputdata.h"

class InputType
{
public:
  InputType();
  virtual ~InputType();

  virtual bool poll();
  virtual bool isOpen() const;

  std::string name() const;
  InputData data() const;
  void ackData();

protected:
  InputData mData;
  std::string mName;
};

std::ostream& operator<<(std::ostream& o, const InputType& input);

#endif
